// surface view 
package com.endgamefraction.androidinfection;

import android.content.Context;
import android.opengl.GLSurfaceView;
import android.util.AttributeSet;


public class GLSurface extends GLSurfaceView 
{
	private GLRenderer mRenderer = null;
	
	public GLSurface(Context context) 
	{
		super(context);
		mRenderer = new GLRenderer();
		mRenderer.context = context;
		setRenderer(mRenderer);
	}
	
	public GLSurface(Context context, AttributeSet attrs) 
	{
		super(context, attrs);
		mRenderer = new GLRenderer();
		mRenderer.context = context;
		setRenderer(mRenderer);
	}
	
	
	// accessors
	public GLRenderer getRenderer() { return mRenderer; }
}